package cn.tradewin.advisor.datasources;

import java.util.List;

import org.apache.tapestry5.grid.GridDataSource;
import org.apache.tapestry5.grid.SortConstraint;

import cn.tradewin.advisor.persist.services.CodingChkService;

public class CodeCheckDataSource implements GridDataSource {

	private final CodingChkService codeChkService;
	
	public CodeCheckDataSource(CodingChkService codeChkService) {
		this.codeChkService = codeChkService;
	}
	
	@Override
	public int getAvailableRows() {
		// TODO Auto-generated method stub
		return 0;
	}

	@Override
	public void prepare(int startIndex, int endIndex,
			List<SortConstraint> sortConstraints) {
		// TODO Auto-generated method stub
		
	}

	@Override
	public Object getRowValue(int index) {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public Class getRowType() {
		// TODO Auto-generated method stub
		return null;
	}
	
}
